//
//  DepathSort.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/5/17.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
protocol DepthSortDelegate {
    func sortDepthData(model:DepthModel,digit:Int)
}
class DepathSort: NSObject {
    var delegate:DepthSortDelegate?
    override init() {
        super.init()
        self.delegate =  CalculateDepth() as DepthSortDelegate
    }
    
    func sortDepth(model:DepthModel,digit:Int) {
        self.delegate?.sortDepthData(model: model,digit: digit)
    }
}

